package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.HotelFacilitiesRooms;
import org.apache.ibatis.annotations.Mapper;

/**
 * 房间设施关联Mapper接口
 * 
 * @author ruoyi
 * @date 2023-05-10
 */
@Mapper
public interface HotelFacilitiesRoomsMapper 
{
    /**
     * 查询房间设施关联
     * 
     * @param id 房间设施关联主键
     * @return 房间设施关联
     */
    public HotelFacilitiesRooms selectHotelFacilitiesRoomsById(Long id);

    /**
     * 查询房间设施关联列表
     * 
     * @param hotelFacilitiesRooms 房间设施关联
     * @return 房间设施关联集合
     */
    public List<HotelFacilitiesRooms> selectHotelFacilitiesRoomsList(HotelFacilitiesRooms hotelFacilitiesRooms);

    /**
     * 新增房间设施关联
     * 
     * @param hotelFacilitiesRooms 房间设施关联
     * @return 结果
     */
    public int insertHotelFacilitiesRooms(HotelFacilitiesRooms hotelFacilitiesRooms);

    /**
     * 修改房间设施关联
     * 
     * @param hotelFacilitiesRooms 房间设施关联
     * @return 结果
     */
    public int updateHotelFacilitiesRooms(HotelFacilitiesRooms hotelFacilitiesRooms);

    /**
     * 删除房间设施关联
     * 
     * @param id 房间设施关联主键
     * @return 结果
     */
    public int deleteHotelFacilitiesRoomsById(Long id);

    /**
     * 批量删除房间设施关联
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHotelFacilitiesRoomsByIds(Long[] ids);
}
